#pragma once

#if _MSC_VER < 1400

typedef int errno_t;

void _tcscpy_s(char*s1 , int, const char* s2);
void strcpy_s(char*s1 , int, const char* s2);
void strcat_s(char*s1 , int, const char* s2);
int fopen_s(FILE**, const char*, const char*);

void sprintf_s(char* var, int s, char*fmt,...);
void vsprintf_s(char* var, int s, const char*fmt,va_list&list);

#endif
